﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameBoundary : MonoBehaviour
{
    //需求：子弹越出边界后，将其销毁
    void OnTriggerExit(Collider other)
    {
        Destroy(other.gameObject); 
    }
}
